import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router'
import Layout from '../layout/index.vue'
import { mainTable } from './main-table'

export const routerTable: RouteRecordRaw[] = [
    {
        path: '/layout',
        component: Layout,
        name: 'Layout',
        meta: {
            title: '首页',
        },
        redirect: '/home',
        children: mainTable,
    }
]